update current user
the authentication credential should be stored in a cookie named 'authentication_credential'.
url
PUT https://yorkyao.xyz/api/user
headers
cookies
request body
| key name | value type | required |
|---|---|---|
| name | string | false |
| avatarFileName | string | false |